package com.ruoyi.cs.event.customeroffer.service;

import com.ruoyi.cs.event.customeroffer.domain.CustomerOffer;

import java.util.List;

/**
 * 客户报价
 * 业务层
 * @author Drj 2021/6/28
 */
public interface ICustomerOfferService {
    /**
     * 客户报价查询
     * @param customerOffer 查询条件
     * @return
     */
    public List<CustomerOffer> selectCustomerOfferList(CustomerOffer customerOffer);

    /**
     * 客户报价根据编号查询
     * @param customerQuotaId
     * @return
     */
    public CustomerOffer selectCustomerOfferById(String customerQuotaId);

    /**
     * 新增客户报价
     * @param customerOffer
     * @return
     */
    public int insertCustomerOffer(CustomerOffer customerOffer) throws Exception;

    /**
     * 更新客户报价
     * @param customerOffer
     * @return
     */
    public int updateCustomerOffer(CustomerOffer customerOffer) throws Exception;

    /**
     * 删除客户报价
     * 仅修改删除标志
     * @param customerOffer
     * @return
     */
    public int updateCustomerOfferDeleteFlag(CustomerOffer customerOffer);
}
